//! Esta clase proviene de la OgreWiki
//!


#pragma once

#include <OgreOverlayElementFactory.h>
#include "ColoredTextAreaOverlayElement.h"

/** Factory for creating TextAreaOverlayElement instances. */
class ColoredTextAreaOverlayElementFactory : public OverlayElementFactory
{
public:
	/** See OverlayElementFactory */
	OverlayElement* createOverlayElement(const String& instanceName)
	{
		return new ColoredTextAreaOverlayElement(instanceName);
	}
	/** See OverlayElementFactory */
	const String& getTypeName() const
	{
		static String name = "ColoredTextArea";
		return name;
	}
};
